package com.yxuan.springboot.service.impl;

import com.yxuan.springboot.mapper.InformationMapper;
import com.yxuan.springboot.model.Information;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.yxuan.springboot.model.FocusInfomation;
import com.yxuan.springboot.service.FocusInfomationService;

import java.util.List;

/**
 * 
 * @author zchao
 *    FocusInfomation业务层实现类
 * @date 2023-06-12 16:39:47
 */
@Service
@Transactional
public class FocusInfomationServiceImpl extends BaseServiceImpl<FocusInfomation> implements FocusInfomationService {

    @Autowired
    private InformationMapper informationMapper;

    @Override
    public List<Information> getListByUserID(Integer userID) {
        return informationMapper.queryListByUserID(userID);
    }
}
